package com.example.siyun.service.impl.commentserviceimpl;

import com.example.siyun.mapper.commentmapper.CommentMapper;
import com.example.siyun.mapper.ordermapper.CommodityMapper;
import com.example.siyun.pojo.SyComment;
import com.example.siyun.service.commentservice.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/*
 * 课程评论
 *@author：王浩宇
 *@Date: 2022-10-12
 * */
@Service
public class CommentServiceImpl implements CommentService {

    @Autowired
    private CommentMapper commentMapper;

    @Override
    public List<SyComment> Get() {
        return commentMapper.Get();
    }

    @Override
    public void updateAdopt(Integer id) {
        commentMapper.updateAdopt(id);
    }

    @Override
    public void updateIntercept(Integer id) {
        commentMapper.updateIntercept(id);
    }

    @Override
    public void updateDelete(Integer id) {
        commentMapper.updateDelete(id);
    }

    @Override
    public int Count() {
        return commentMapper.Count();
    }

    @Override
    public List<SyComment> getAdopt() {
        return commentMapper.getAdopt();
    }

    @Override
    public int countAdopt() {
        return commentMapper.countAdopt();
    }

    @Override
    public List<SyComment> getIntercept() {
        return commentMapper.getIntercept();
    }

    @Override
    public int countIntercept() {
        return commentMapper.countIntercept();
    }

    @Override
    public List<SyComment> getDelete() {
        return commentMapper.getDelete();
    }

    @Override
    public int countDelete() {
        return commentMapper.countDelete();
    }

    @Override
    public int countPeople() {
        return commentMapper.countPeople();
    }

    @Override
    public int countPeopleAdopt() {
        return commentMapper.countPeopleAdopt();
    }

    @Override
    public int countPeopleIntercept() {
        return commentMapper.countPeopleIntercept();
    }

    @Override
    public int countPeopleDelete() {
        return commentMapper.countPeopleDelete();
    }

    @Override
    public int countToday(String date) {
        return commentMapper.countToday(date);
    }

    @Override
    public int countTodayAdopt(String date) {
        return commentMapper.countTodayAdopt(date);
    }

    @Override
    public int countTodayIntercept(String date) {
        return commentMapper.countTodayIntercept(date);
    }

    @Override
    public int countTodayDelete(String date) {
        return commentMapper.countTodayDelete(date);
    }

    @Override
    public int countTodayPeople(String date) {
        return commentMapper.countTodayPeople(date);
    }

    @Override
    public int countTodayPeopleAdopt(String date) {
        return commentMapper.countTodayPeopleAdopt(date);
    }

    @Override
    public int countTodayPeopleIntercept(String date) {
        return commentMapper.countTodayPeopleIntercept(date);
    }

    @Override
    public int countTodayPeopleDelete(String date) {
        return commentMapper.countTodayPeopleDelete(date);
    }

    @Override
    public List<SyComment> Reception() {
        return commentMapper.Reception();
    }

    @Override
    public int countReception() {
        return commentMapper.countReception();
    }

    @Override
    public int countPeopleReception() {
        return commentMapper.countPeopleReception();
    }

    @Override
    public int countTodayReception(String date) {
        return commentMapper.countTodayReception(date);
    }

    @Override
    public int countTodayPeopleReception(String date) {
        return commentMapper.countTodayPeopleReception(date);
    }

    @Override
    public List<SyComment> Backstage() {
        return commentMapper.Backstage();
    }

    @Override
    public int countBackstage() {
        return commentMapper.countBackstage();
    }

    @Override
    public int countPeopleBackstage() {
        return commentMapper.countPeopleBackstage();
    }

    @Override
    public int countTodayBackstage(String date) {
        return commentMapper.countTodayBackstage(date);
    }

    @Override
    public int countTodayPeopleBackstage(String date) {
        return commentMapper.countTodayPeopleBackstage(date);
    }

}
